--TEST--
PEAR2_Loader::loadClass() loads a file based on the PEAR naming convention.  Example:
PEAR2_SomePackage will translate into ...include_path.../PEAR2/Loader.php.
--FILE--
<?php
// BEGIN REMOVE
set_include_path(dirname(__FILE__) . '/support/' . PATH_SEPARATOR .
                 dirname(__FILE__) . '/../src/' . PATH_SEPARATOR .
                 get_include_path()
                 );
// END REMOVE

require_once 'PEAR2/Loader.php';

$loader = new PEAR2_Loader();
assert('!class_exists("PEAR2_SomeObject", false)');
$loader->loadClass('PEAR2_SomeObject');
assert('class_exists("PEAR2_SomeObject", false)');
?>
===DONE===
--EXPECT--
===DONE===